﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CarInfoDBAccess.ModelForWS
{
    public class Brand
    {
        private int _Id;
        /// <summary>
        /// id
        /// </summary>
        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }

        private string _Name;
        /// <summary>
        /// 名字
        /// </summary>
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        private int _IsDelete = 0;

        public int IsDelete
        {
            get { return _IsDelete; }
            set { _IsDelete = value; }
        }

        private List<CarType> _CTList;
        /// <summary>
        /// 所属该品牌的车型列表
        /// </summary>
        public List<CarType> CTList
        {
            get { return _CTList; }
            set { _CTList = value; }
        }

        private string _Url;
        /// <summary>
        ///  根据这个URL可以获得查询车型的页面
        /// </summary>
        public string Url
        {
            get { return _Url; }
            set { _Url = value; }
        }
    }
}
